import { createWebHistory, createRouter } from "vue-router"
import { routersIF } from "./index.interface"

import HomeView from '../views/home/index.vue'


// 页面路由
const routes:Array<routersIF> = [{
  path:'/',component: HomeView
}]


const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router;